package spring.library.LibraryProject.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import  spring.library.LibraryProject.model.loginInfo;

import java.util.List;

@Mapper
public interface loginMapper {
    List<loginInfo> selectLoginInfo();
    loginInfo selectLoginInfoByNameAndPassword(String username, String password);
    int insertLoginInfo(loginInfo loginInfo);
}
